package com.yilin.tms.message.service;

import com.yilin.tms.core.application.PageData;
import com.yilin.tms.core.entity.message.MessageData;

import java.util.List;

public interface IMessageService {

    PageData<MessageData> getChatPage(MessageData query, Integer start, Integer limit);

    void saveOrUpdate(MessageData messageData);

    List<MessageData> getFailChatListByReceiveUserId(String receiveUserId);

    void deleteByDate(String startDate, String endDate);

    void deleteByIds(String[] ids);
}
